package com.zndroid.layertree.bean;

import java.util.List;

public interface IBean<T> {
    long getId();
    void setId(long id);

    List<T> getSubList();
    void setSubList(List<T> subList);

    default boolean isSub() {
        return true;
    }
}
